<header class="main-header">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <!-- start logo -->
                <a class="logo" href="http://www.mycentos.com" title="Mycentos"><img src="__PUBLIC__/Home/images/logo.png" alt="Mycentos 琥珀"></a>
                <!-- end logo -->
                <h2 class="text-hide">MycentOS记录点滴生活,琥珀专注于php开发,linux运维blog.Email:317559272@qq.com.大道至简开发由我!</h2>
            </div>
        </div>
    </div>
</header>
<nav class="navbar navbar-default navbar--top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">MyCentos</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li>
                    <a href="/">首页</a>
                </li>
                 {:W('Nav/nav')}
            </ul>
            <form action="{:U('Search/index')}" method="post" class="navbar-form navbar-right" role="search">
                <div class="form-group">
                    <input type="text" name="keyword"class="form-control" placeholder="Search" value="{$keyword}">
                </div>
                <button type="submit" class="btn btn-default">搜索</button>
            </form>
        </div>
    </div>
</nav>